package com.lovo.es.dao;

import com.lovo.es.entity.NewsInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface INewsInfoDao extends PagingAndSortingRepository<NewsInfo,String>{

    public Page<NewsInfo> findAllByNewsInfo(String info, PageRequest pageRequest);
}
